package org.dromara.tearoom.domain.enums;


import lombok.AllArgsConstructor;
import lombok.Getter;
import org.dromara.common.core.enums.ArrayValuable;

import java.util.Arrays;

/**
 * IoT 断路器品牌
 *
 * @author ckj
 */
@AllArgsConstructor
@Getter
public enum IotDeviceBreakerEnum implements ArrayValuable<String> {

    GeeOpen("geeOpen", "GeeOpen断路器");

    /**
     * 类型
     */
    private final String type;

    /**
     * 描述
     */
    private final String description;


    public static final String[] ARRAYS = Arrays.stream(values()).map(IotDeviceBreakerEnum::getType).toArray(String[]::new);

    @Override
    public String[] array() {
        return ARRAYS;
    }



}
